# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class ThumbnailTaskTarget(object):

    def __init__(self, destBucket, destKeyPrefix=None, format=None, widthInPixel=None, heightInPixel=None, keys=None):
        """
        :param destBucket:  输入存放目标文件的 bucket
        :param destKeyPrefix: (Optional) 目标截图的Key的前缀, '前缀-taskID-%04d(num).(format)', 默认: sourceKey
        :param format: (Optional) 目标截图的格式 default: jpg
        :param widthInPixel: (Optional) 目标截图的宽, 如果视频实际分辨率低于目标分辨率则按照实际分辨率输出 default: 0 代表源视频高 其他[8, 4096]
        :param heightInPixel: (Optional) 目标截图的高, 如果视频实际分辨率低于目标分辨率则按照实际分辨率输出 default: 0 代表源视频高 其他[8, 4096]
        :param keys: (Optional) 目标截图的Key的集合 (readonly)
        """

        self.destBucket = destBucket
        self.destKeyPrefix = destKeyPrefix
        self.format = format
        self.widthInPixel = widthInPixel
        self.heightInPixel = heightInPixel
        self.keys = keys
